Class symantec.itools.awt.InvisibleHTMLLink
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.InvisibleHTMLLink

Object
   |
   +----Component
           |
           +----InvisibleButton
                   |
                   +----symantec.itools.awt.InvisibleHTMLLink

public class InvisibleHTMLLink
extends InvisibleButton
Use this component to create an invisible rectangular button, usually within an image, that displays the document at a given URL when clicked.

Version:
1.1, June 11, 1997
Author:
Symantec

Variable Index

 o context
Applet context that shows the document.
 o frame
Frame specifier for showing a URL document in a browser or applet viewer.
 o url
The URL of the document to show when the button is clicked.

Constructor Index

 o symantec.itools.awt.InvisibleHTMLLink()
Constructs a default InvisibleHTMLLink.

Method Index

 o addNotify()
Tells this component that it has been added to a container.
 o addPropertyChangeListener(PropertyChangeListener)
Adds a listener for all event changes.
 o addVetoableChangeListener(VetoableChangeListener)
Adds a vetoable listener for all event changes.
 o getFrame()
Gets the frame specifier for showing a URL document in a browser or applet viewer.
 o getURL()
Returns the URL of the document to show when the button is clicked.
 o removeNotify()
Tells this component that it is being removed from a container.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a listener for all event changes.
 o removeVetoableChangeListener(VetoableChangeListener)
Removes a vetoable listener for all event changes.
 o setAppletContext(AppletContext)
Sets the applet context used to view documents.
 o setFrame(String)
Sets the frame specifier for showing a URL document in a browser or applet viewer.
 o setURL(URL)
Sets the URL of the document to show when the button is clicked.

Variables

 o context
protected transient java.applet.AppletContext context
Applet context that shows the document.

 o frame
protected java.lang.String frame
Frame specifier for showing a URL document in a browser or applet viewer. It is interpreted as follows:

 o url
protected java.net.URL url
The URL of the document to show when the button is clicked.

Constructors

 o InvisibleHTMLLink
public InvisibleHTMLLink()
Constructs a default InvisibleHTMLLink.

Methods

 o addNotify
public synchronized void addNotify()
Tells this component that it has been added to a container. This is a standard Java AWT method which gets called by the AWT when this component is added to a container. Typically, it is used to create this component's peer. It has been overridden here to hook-up event listeners.

Overrides:
addNotify in class InvisibleButton
See Also:
removeNotify
 o addPropertyChangeListener
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener for all event changes.

Parameters:
PropertyChangeListener - listener the listener to add.
Overrides:
addPropertyChangeListener in class InvisibleButton
See Also:
removePropertyChangeListener
 o addVetoableChangeListener
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)
Adds a vetoable listener for all event changes.

Parameters:
VetoableChangeListener - listener the listener to add.
Overrides:
addVetoableChangeListener in class InvisibleButton
See Also:
removeVetoableChangeListener
 o getFrame
public java.lang.String getFrame()
Gets the frame specifier for showing a URL document in a browser or applet viewer. It is interpreted as follows:

Returns:
the frame specifier
See Also:
setFrame
 o getURL
public java.net.URL getURL()
Returns the URL of the document to show when the button is clicked.

See Also:
setURL
 o removeNotify
public synchronized void removeNotify()
Tells this component that it is being removed from a container. This is a standard Java AWT method which gets called by the AWT when this component is removed from a container. Typically, it is used to destroy the peers of this component and all its subcomponents. It has been overridden here to unhook event listeners.

Overrides:
removeNotify in class InvisibleButton
See Also:
addNotify
 o removePropertyChangeListener
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)
Removes a listener for all event changes.

Parameters:
PropertyChangeListener - listener the listener to remove.
Overrides:
removePropertyChangeListener in class InvisibleButton
See Also:
addPropertyChangeListener
 o removeVetoableChangeListener
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)
Removes a vetoable listener for all event changes.

Parameters:
VetoableChangeListener - listener the listener to remove.
Overrides:
removeVetoableChangeListener in class InvisibleButton
See Also:
addVetoableChangeListener
 o setAppletContext
protected void setAppletContext(AppletContext c)
Sets the applet context used to view documents.

Parameters:
c - the new applet context
 o setFrame
public void setFrame(String f) throws PropertyVetoException
Sets the frame specifier for showing a URL document in a browser or applet viewer. It is interpreted as follows:

Parameters:
f - the frame specifier
Throws: PropertyVetoException
if the specified property value is unacceptable
See Also:
getFrame, frameTarget_self, frameTarget_parent, frameTarget_top, frameTarget_blank
 o setURL
public void setURL(URL u) throws PropertyVetoException
Sets the URL of the document to show when the button is clicked.

Parameters:
u - the URL
Throws: PropertyVetoException
if the specified property value is unacceptable
See Also:
getURL

All Packages  Class Hierarchy  This Package  Previous  Next  Index